Hello, Welcome to the wondeful world of Midi Track Mixer scripts.

This is the updated version.

Whats been added?

I added a UNIQID: for each script, they need to be there so VST saves and recalls the correct script when you save and reopen a song.  Sorry about this one, I didn't know how to implement this one, it should have been done.

More to come soon, with 3 new features added to the midi track mixer it should make for a more flexible design.

1. What Is the Midi Track Mixer and what is a script for it?

	The Midi Track Mixer is one of the new features of Cubase VST 5, What it allows you to do is Automate Midi functions on your Synth unit / Sound Card.
A script for the Midi Track Mixer adds extra functions to the Midi Track Mixer. the M T M without a script just allows you to control Pan and Volume, Pretty basic but it can still be a help.   A script for the Midi Track Mixer has to be written in a text editor, but armed with the right information you CAN write your own, adding allsorts of functions Such as LPF,  HPF, Vibrato, etc. Depending on the synth/SoundCard  you own and on your knowledge of Sysex. 

2. How to use my scripts.

Writing the Scripts was OK, I had to discover what script commands were actually working and which are going to be working in future updates of VST 5.
Due to certain limitations of the scripts (Commands that aren't actually functioning), I had to leave certain functions out at the moment but they will be added at a later date.

Some important information
********************

All of the scripts contain something in the title to Explain what they are.  we will look at the First script, "ANSetup" In this script I added 3 very important functions, "Host pt" Assigns the AN1x PLG to a Host part, "Part chn" then Assigns that Part to a midi channel. "reset" does what it says, reset!! be careful with that one!

"Host pt" and "Part chn" are very important, thse both need to be set to 15, this will assign Your AN Plg card to Part 16, Channel 16, If you don't the script will not work!!!
I put them on part16 Channel 16 because I thought that would be out of the way of anything else.  If you have set them both to 15 and you don't hear your AN then hit "RESET" and set the "host pt" and "Part chn" again.

You should now be able to hear your An1x Plg by entering Key-edit (midi ch16)  and drawing in some notes or hitting Keys on your keyboard.

Values greater than 128 but less than 256
******************************

There are some other things that you will need to know before you can use the scripts correctly!  Due to limitations in the Scripts I have had to split Certain functions over 2 faders i.e. in "ARPset" you will see that the first 2 functions are marked "T<127" and "T+127" this is where you set the Tempo for Arpeggio/Step sequencer, it requires a value between 0 & 240. The limitation in the script only allows you to have one variable, in this variable you can only address Values between 0 and 127 Per object, Unless you set up a Map array but that is another story!

For this and other functions it requires that the data be sent in 2 bytes, MSB, LSB, which in this instance allows us to Fix the MSB value to Zero for "T<127" and One for "T+127" whilst still allowing us to have our Variable byte as the LSB.  It doesn't really matter if you don't understand this, all you need to know is, for any function that requires a value between 0 and 255 the function will be split over 2 objects, the First object will deal with 0-127, the second 128-255.

I should have explained earlier that an "object" is a fader or knob or popup box  on the midi track mixer.


Popup's
******

If we now turn our attention to the script "LFO/FM" you will notice that there are some yellow text boxes, these boxes also have a green text box beneath to expain what the Object is set to, the yellow boxes contain Popups, if you left click on any of the yellow boxes you a grey box will pop up with all of the different choices for that object, this is particularly useful for the bottom function where you can't see tha value that it is set to, at least you can pull the popup up and make a choice.

I didn't like having to do it like that but I have to make do with the script limitations (only 12 objects Per script) 

I hope that steinbeg will add more functions to the Midi track Mixer in Future updates of of VST 5, If they do I will change these scripts to work more efficiently adding more functions for you all to enjoy!

I have currently written 10 Midi Track Mixer scripts for control of the An1x PLG card and a Patchname Script to allow you to get at the 256 Preset sounds on the PLG card.  These scripts allow you to Use your Plg card inside VST without the need for External applications such as the very good AN-edit.  I didn't write these scripts to compete with AN-edit, I wrote them to allow AN PLG owners to get access to their kit without needing Hubi's cables and to eliminate the problem that VST has with Sending sysex thru.

If you have any problems with the script you can e-mail me at reggie@the3rdtone.demon.co.uk

If you feel that there are some functions missing then let me know and I'll let you know if I can add them in future scripts.

This script should work on an AN1x as well, but I can't guarantee it, Remember to set your AN as per instrunctions above or it definitely won't work.







